import { Contains, IsDate, IsEmail, IsFQDN, IsInt, Length, Max, Min } from 'class-validator';
export class CreatePipeTestDto {
    name: string;
    @IsInt()
    age: number;

    @Contains('hello')
    text?: string;

    @IsInt()
    @Min(0)
    @Max(10)
    rating?: number;

    @IsEmail()
    email?: string;

    @IsFQDN()
    site?: string;
}